﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <meta charset="utf-8" />
    <style>
        html, body {
            padding: 0;
            margin: 0;
            height: 100%;
            overflow: hidden;
        }

        #map {
            height: 100%;
            z-index: 0;
        }
    </style>
    <script src='https://api.mapbox.com/mapbox-gl-js/v0.44.2/mapbox-gl.js'></script>
    <link href='https://api.mapbox.com/mapbox-gl-js/v0.44.2/mapbox-gl.css' rel='stylesheet' />
</head>
<body>
    <div id='map'></div>
    <script>
        mapboxgl.accessToken = 'pk.eyJ1IjoiYXR0dWluZyIsImEiOiJjamNham4ycTgwZzVkMndzM2lzYTJtN2VjIn0.kB9yWdGNuo7_oi3brXX4-A';
        var map = new mapboxgl.Map({
            container: 'map',
            style: {
                "version": 8,
                "name": "Mapbox Streets",
                "sprite": "mapbox://sprites/mapbox/streets-v8",
                "glyphs": "mapbox://fonts/mapbox/{fontstack}/{range}.pbf",
                "sources": {
                    "mapbox-streets": {
                        "type": "vector",
                        "url": "mapbox://mapbox.mapbox-streets-v6"
                    }
                },
                "layers": [
                    {
                        "id": "water",
                        "source": "mapbox-streets",
                        "source-layer": "water",
                        "type": "fill",
                        "paint": {
                            "fill-color": "#00ffff"
                        }
                    }
                ]
            }
        });
    </script>
</body>
</html>
